{% extends "iphone.base.html" %}
{% block header %}
<div id="header" class="pre">
<p>{% for c in model.category %}{{c}}{% endfor %}</p>
<h1>{{model.name}}</h1>
<a id="backButton" href="/">Home</a> 
</div>
{% endblock %}
{% block body %}
	<div id="albumgallery">
	<ul class="gallery">
	{% for album in albums %}
	<li>
		<div class="cover"><a class="imgBorder" href="/album/{{album.key}}" title="{{album.title}}"><img class="cover" src="{{host_img}}/{{model.username}}/{{album.cover|imagename}}" alt="{{album.title}}"/></a></div>
		<div class="title">photos : {{album.count_photo}} / {{album.get_photo_count}}</div>
	</li>
	{% endfor %}
	</ul>
	</div>
{% endblock %}